<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="Common:cssjs" />
</head>
<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x"> 
  <a <eq name="ACTION_NAME" value="index">class="on"</eq> href="{:U("Config/index")}"><em>站点配置</em></a><span>|</span> 
  <!--<a <eq name="ACTION_NAME" value="sys">class="on"</eq> href="{:U("Config/sys")}"><em>系统参数</em></a><span>|</span> 
  <a <eq name="ACTION_NAME" value="mail">class="on"</eq> href="{:U("Config/mail")}"><em>邮箱配置</em></a><span>|</span> -->
  <a <eq name="ACTION_NAME" value="attach">class="on"</eq>  href="{:U("Config/attach")}"><em>附件配置</em></a> </div>
</div>
<div class="pad_10">
  <form method='post'   id="myform" name="form1"  action="{:U("Config/dosite")}">
    <table cellpadding=0 cellspacing=0 width="100%" class="table_form" >
      <tr>
        <th width="140">允许上传附件大小:</th>
        <td><input type="text" class="input-text" name="uploadmaxsize" id="uploadmaxsize" size="10" value="{$Site.uploadmaxsize}"/>
          KB</td>
      </tr>
      <tr>
        <th width="140">允许上传附件类型:</th>
        <td><input type="text" class="input-text" name="uploadallowext" id="uploadallowext" size="50" value="{$Site.uploadallowext}"/>多个用"|"隔开</td>
      </tr>
       <tr style="display:none">
        <th width="140">前台允许上传附件大小:</th>
        <td><input type="text" class="input-text" name="qtuploadmaxsize" id="uploadmaxsize" size="10" value="{$Site.qtuploadmaxsize}"/>
          KB</td>
      </tr>
      <tr  style="display:none">
        <th width="140">前台允许上传附件类型:</th>
        <td><input type="text" class="input-text" name="qtuploadallowext" id="uploadallowext" size="50" value="{$Site.qtuploadallowext}"/>多个用"|"隔开</td>
      </tr>
      <tr>
        <th width="140">开启远程FTP附件上传:</th>
        <td><input name="ftpstatus" type="radio" value="1"  <if condition=" $Site['ftpstatus'] == '1' ">checked</if> /> 开启 <input name="ftpstatus" type="radio" value="0" <if condition=" $Site['ftpstatus'] == '0' ">checked</if> /> 关闭</td>
      </tr>
      <tr>
        <th width="140">FTP服务器地址:</th>
        <td><input type="text" class="input-text" name="ftphost" id="ftphost" size="30" value="{$Site.ftphost}"/> FTP服务器端口: <input type="text" class="input-text" name="ftpport" id="ftpport" size="5" value="{$Site.ftpport}"/></td>
      </tr>
      <tr>
        <th width="140">FTP上传目录:</th>
        <td><input type="text" class="input-text" name="ftpuppat" id="ftpuppat" size="30" value="{$Site.ftpuppat}"/> "/"表示上传到FTP根目录</td>
      </tr>
      <tr>
        <th width="140">FTP用户名:</th>
        <td><input type="text" class="input-text" name="ftpuser" id="ftpuser" size="20" value="{$Site.ftpuser}"/></td>
      </tr>
      <tr>
        <th width="140">FTP密码:</th>
        <td><input type="password" class="input-text" name="ftppassword" id="ftppassword" size="20" value="{$Site.ftppassword}"/></td>
      </tr>
      <tr>
        <th width="140">FTP是否开启被动模式:</th>
        <td><input name="ftppasv" type="radio" value="1"  <if condition=" $Site['ftppasv'] == '1' ">checked</if> /> 开启 <input name="ftppasv" type="radio" value="0" <if condition=" $Site['ftppasv'] == '0' ">checked</if> /> 关闭</td>
      </tr>
      <tr>
        <th width="140">FTP是否使用SSL连接:</th>
        <td><input name="ftpssl" type="radio" value="1"  <if condition=" $Site['ftpssl'] == '1' ">checked</if> /> 开启 <input name="ftpssl" type="radio" value="0" <if condition=" $Site['ftpssl'] == '0' ">checked</if> /> 关闭</td>
      </tr>
      <tr>
        <th width="140">FTP超时时间:</th>
        <td><input type="text" class="input-text" name="ftptimeout" id="ftptimeout" size="5" value="{$Site.ftptimeout}"/>秒</td>
      </tr>
      <!--<tr>
        <th width="140">是否开启图片水印:</th>
        <td><input class="radio_style" name="watermarkenable" value="1" <if condition="$Site['watermarkenable'] eq '1' "> checked</if> type="radio">
          启用&nbsp;&nbsp;&nbsp;&nbsp;
          <input class="radio_style" name="watermarkenable" value="0" <if condition="$Site['watermarkenable'] eq '0' "> checked</if>  type="radio">
          关闭 </td>
      </tr>
      <tr>
        <th width="140">水印添加条件:</th>
        <td>宽
          <input type="text" class="input-text" name="watermarkminwidth" id="watermarkminwidth" size="10" value="{$Site.watermarkminwidth}" />
          X 高
          <input type="text" class="input-text" name="watermarkminheight" id="watermarkminheight" size="10" value="{$Site.watermarkminheight}" />
          PX</td>
      </tr>
      <tr>
        <th width="140">水印图片:</th>
        <td><input type="text" name="watermarkimg" id="watermarkimg" size="30" value="{$Site.watermarkimg}"/>
          水印存放路径:statics/images/water</td>
      </tr>
      <tr>
        <th width="140">水印透明度:</th>
        <td><input type="text" class="input-text" name="watermarkpct" id="watermarkpct" size="10" value="{$Site.watermarkpct}" />
          请设置为0-100之间的数字，0代表完全透明，100代表不透明</td>
      </tr>
      <tr>
        <th width="140">JPEG 水印质量:</th>
        <td><input type="text" class="input-text" name="watermarkquality" id="watermarkquality" size="10" value="{$Site.watermarkquality}" />
          水印质量请设置为0-100之间的数字,决定 jpg 格式图片的质量</td>
      </tr>
      <tr>
        <th width="140">水印位置:</th>
        <td><table width="100%" class="radio-label">
            <tr>
              <td rowspan="3"><input class="radiostyle" name="watermarkpos" value="10" type="radio" <if condition="$Site['watermarkpos'] eq '10' "> checked</if>>
                随机位置</td>
              <td><input class="radiostyle" name="watermarkpos" value="1" type="radio" <if condition="$Site['watermarkpos'] eq '1' "> checked</if>>
                顶部居左</td>
              <td><input class="radiostyle" name="watermarkpos" value="2" type="radio"<if condition="$Site['watermarkpos'] eq '2' "> checked</if> >
                顶部居中</td>
              <td><input class="radiostyle" name="watermarkpos" value="3" type="radio" <if condition="$Site['watermarkpos'] eq '3' "> checked</if>>
                顶部居右</td>
            </tr>
            <tr>
              <td><input class="radiostyle" name="watermarkpos" value="4" type="radio" <if condition="$Site['watermarkpos'] eq '4' "> checked</if>>
                中部居中</td>
              <td><input class="radiostyle" name="watermarkpos" value="5" type="radio" <if condition="$Site['watermarkpos'] eq '5' "> checked</if>>
                中部居左</td>
              <td><input class="radiostyle" name="watermarkpos" value="6" type="radio" <if condition="$Site['watermarkpos'] eq '6' "> checked</if>>
                中部居右</td>
            </tr>
            <tr>
              <td><input class="radiostyle" name="watermarkpos" value="7" type="radio" <if condition="$Site['watermarkpos'] eq '7' "> checked</if>>
                底部居左</td>
              <td><input class="radiostyle" name="watermarkpos" value="8" type="radio" <if condition="$Site['watermarkpos'] eq '8' "> checked</if>>
                底部居中</td>
              <td><input class="radiostyle" name="watermarkpos" value="9" type="radio" <if condition="$Site['watermarkpos'] eq '9' "> checked</if>>
                底部居右</td>
            </tr>
          </table></td>
      </tr>-->
    </table>
    <div class="btn">
      <INPUT TYPE="submit"  value="保存" class="button" >
      <input TYPE="reset"  value="重置" class="button">
    </div>
  </form>
</div>
</body>
</html>